﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.TeamFoundation.Client;
using TeamFoundation.ContinuousMerge.BranchGraph;

namespace CoreTest
{
    class Program
    {
        static void Main(string[] args)
        {
            TeamFoundationServer tfs = new TeamFoundationServer("http://localhost:8080");
            tfs.EnsureAuthenticated();
            var packageBuilder = new FullDefaultBranchPackageBuilder();
            packageBuilder.AddInterest("$/Merge Test/Mainline");
            var package = packageBuilder.Generate(tfs);
            var graph = package.BuildGraph();
        }
    }
}
